home *** CD-ROM | disk | FTP | other *** search
/ IRIX Installation Tools & Overlays 2002 November / SGI IRIX Installation Tools & Overlays 2002 November - Disc 4.iso / dist / motif21_dev.idb / usr / Motif-2.1 / include / Xm / Scale.h.z / Scale.h
C/C++ Source or Header  |  2002-10-15  |  2KB  |  69 lines

  1. /* 
  2.  *  @OSF_COPYRIGHT@
  3.  *  COPYRIGHT NOTICE
  4.  *  Copyright (c) 1990, 1991, 1992, 1993 Open Software Foundation, Inc.
  5.  *  ALL RIGHTS RESERVED (MOTIF). See the file named COPYRIGHT.MOTIF for
  6.  *  the full copyright text.
  7. */ 
  8. /* 
  9.  * HISTORY
  10. */ 
  11. /*   $XConsortium: Scale.h /main/11 1995/07/13 17:52:48 drk $ */
  12. /*
  13. *  (c) Copyright 1989, DIGITAL EQUIPMENT CORPORATION, MAYNARD, MASS. */
  14. /*
  15. *  (c) Copyright 1987, 1988, 1989, 1990, 1991, 1992 HEWLETT-PACKARD COMPANY */
  16. #ifndef _XmScale_h
  17. #define _XmScale_h
  18.  
  19.  
  20. #include <Xm/Xm.h>
  21.  
  22. #ifdef __cplusplus
  23. extern "C" {
  24. #endif
  25.  
  26. /* Class record constants */
  27.  
  28. externalref WidgetClass xmScaleWidgetClass;
  29.  
  30. /* fast XtIsSubclass define */
  31. #ifndef XmIsScale
  32. #define XmIsScale(w) XtIsSubclass (w, xmScaleWidgetClass)
  33. #endif
  34.  
  35. typedef struct _XmScaleClassRec * XmScaleWidgetClass;
  36. typedef struct _XmScaleRec      * XmScaleWidget;
  37.  
  38.  
  39. /********    Public Function Declarations    ********/
  40.  
  41. extern void XmScaleSetValue( 
  42.                         Widget w,
  43.                         int value) ;
  44. extern void XmScaleGetValue( 
  45.                         Widget w,
  46.                         int *value) ;
  47. extern Widget XmCreateScale( 
  48.                         Widget parent,
  49.                         char *name,
  50.                         ArgList arglist,
  51.                         Cardinal argcount) ;
  52. extern void XmScaleSetTicks(
  53.                 Widget scale,
  54.                 int big_every,
  55.                 Cardinal num_med,
  56.                 Cardinal num_small, 
  57.                 Dimension  size_big,
  58.                 Dimension  size_med,
  59.                 Dimension  size_small);
  60. /********    End Public Function Declarations    ********/
  61.  
  62.  
  63. #ifdef __cplusplus
  64. }  /* Close scope of 'extern "C"' declaration which encloses file. */
  65. #endif
  66.  
  67. #endif /* _XmScale_h */
  68. /* DON'T ADD ANYTHING AFTER THIS #endif */
  69.